const practiceService = {
  getTodoList: {
    url: '/todoList',
    method: 'GET',
    description: '获取待办列表',
  },
  getQuestionnaireList: {
    url: '/getQuestionnaireList',
    method: 'GET',
    description: '获取所有问卷题目',
  },
  // 先实现这个，暂时使用 GET 方法，后面再修改为POST方法
  insertAnswer: {
    url: '/insertAnswer',
    method: 'GET',
    description: '提交问卷答案',
  },
  getAnswer: {
    url: '/getAnswer',
    method: 'GET',
    description: '获取问卷答案',
  },
  insertQuestionnaire: {
    url: '/insertQuestionnaire',
    method: 'GET',
    description: '提交新的问卷',
  },
  insertUser: {
    url: '/insertUser',
    method: 'GET',
    description: '提交新用户',
  },
  getUserList: {
    url: '/getUserList',
    method: 'GET',
    description: '获取用户列表',
  },

  // 留言板接口
  getNoteList: {
    url: '/getNoteList',
    method: 'GET',
    description: '获取留言列表',
  },
  insertNote: {
    url: '/insertNote',
    method: 'GET',
    description: '插入留言内容',
  },
  deleteNote: {
    url: '/deleteNote',
    method: 'GET',
    description: '删除单个留言',
  },
  deleteAllNote: {
    url: '/deleteAllNote',
    method: 'GET',
    description: '删除所有留言',
  },
}

export default practiceService
